Skip to main content

paragraphs

Type

keyword

Summary

Used with the number function to count the number of paragraph chunks in a container.

Syntax

paragraphs

Description

Use the paragraphs keyword to count the number of paragraph chunks in a container.

A paragraph is a chunk delimited by either a return character or the Unicode paragraph separator (0x2029).

note

The paragraph chunk is identical to the line chunk, except that it is also delimited by the paragraph separator character. This reflects the paragraph breaking exhibited by LiveCode fields.

Examples

put the number of paragraphs in field 1
get the number of paragraphs in tChapter1

keyword: paragraph

Compatibility and Support

Introduced

LiveCode 7.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?